"""
@author: xiangping
@contact: xiangpingbu@gmail.com
@time: 2020/1/10 4:50 下午
@file: shaojie_predict_po
@Desc:
"""
from app.exts import db
from app.models.po.base_po import BasePO


class ShaoJieRulePO(db.Model, BasePO):
    __tablename__ = "shaojie_rule"
    __bind_key__ = "serve_engine"
    id = db.Column(db.Integer, primary_key=True)
    gmt_create = db.Column(db.DateTime())
    gmt_modified = db.Column(db.DateTime())
    location_from = db.Column(db.Float())
    location_to = db.Column(db.Float())
    temp_from = db.Column(db.Float())
    temp_to = db.Column(db.Float())
    is_deleted = db.Column(db.Integer)

